package com.ms.game.slot.base;

import java.util.ArrayList;
import java.util.Arrays;

public class SlotScreenAndWildInfo 
{
	public ArrayList<Integer> screen;
	
	public ArrayList<Integer> wild;
	
	/**
	 * 將一般盤面wild設定至wildscreen
	 * @param size
	 * @param wildid
	 */
	public void megreWildToWildScreen(int size , int wildid)
	{
		for(int i=0;i<size;i++)
		{
			if(screen.get(i)==wildid)
			{
				wild.set(i, wildid);
			}
		}
	}
	
	
	public String getScreenAssmbly()
	{
		return Arrays.toString(screen.toArray()).replaceAll("\\[", "").replaceAll("\\]", "");
	}
	
	public String getWildAssmbly()
	{
		return Arrays.toString(wild.toArray()).replaceAll("\\[", "").replaceAll("\\]", "");
	}
}
